﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    xmlns:n="http://nRoute/schemas/2010/xaml"
	x:Class="Officer2010.Content.Views.ShareDialog"
	d:DesignWidth="700" d:DesignHeight="680">

    <i:Interaction.Behaviors>
		<n:BridgeViewModelBehavior/>
	</i:Interaction.Behaviors>

	<Border x:Name="LayoutRoot" Padding="0,0,10,0" CornerRadius="8,8,8,8" Background="#FFEDF0F2">
		<Grid Background="{x:Null}" HorizontalAlignment="Left" Width="700">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="314"/>
				<ColumnDefinition Width="*"/>
			</Grid.ColumnDefinitions>
			<Border x:Name="SideShadow" Height="Auto" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="12" 
				BorderBrush="#FFBDB8B8" Margin="1,0,0,0" Grid.Column="1" BorderThickness="1,0,0,0">
				<Border.Background>
					<LinearGradientBrush EndPoint="0.848,0.712" StartPoint="0.161,0.712">
						<GradientStop Color="#FFE5E9EC" Offset="0.754"/>
						<GradientStop Color="#FFC7C8CA" Offset="0"/>
						<GradientStop Color="#00E5E9EC" Offset="1"/>
					</LinearGradientBrush>
				</Border.Background>
			</Border>
            
			<Grid Height="253" Margin="16,8,6,0" VerticalAlignment="Top" Grid.Column="1">
            
				<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="0,23,0,0" 
					VerticalAlignment="Top" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2"/>
				<TextBlock Height="Auto" VerticalAlignment="Top" Text="Share Document - Specify Identifiers" 
					TextWrapping="NoWrap" FontFamily="Arial" FontSize="14" HorizontalAlignment="Left" FontWeight="Bold"/>
				<Image HorizontalAlignment="Left" Margin="1,41,0,62" Width="135" 
					Source="../Icons/User.png" Stretch="UniformToFill" RenderTransformOrigin="0.5,0.5">
					<Image.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="-1"/>
							<SkewTransform/>
							<RotateTransform/>
							<TranslateTransform/>
						</TransformGroup>
					</Image.RenderTransform>
				</Image>
				<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="143,49,0,0" VerticalAlignment="Top" 
					FontFamily="Arial" FontSize="12" Text="User Name" TextWrapping="NoWrap" Foreground="#FF4B4B4B"/>
				<TextBox Height="22" Margin="143,68,15,0" VerticalAlignment="Top" MaxLength="50" 
					Text="{Binding UserName, Mode=TwoWay}" TextWrapping="Wrap" FontSize="11" 
					BorderBrush="#FFA1A1A1" FontFamily="Arial">
					<i:Interaction.Triggers>
						<i:EventTrigger EventName="Loaded">
							<n:UpdateBindingExplicitlyAction PropertyName="Text"/>
						</i:EventTrigger>
					</i:Interaction.Triggers>
				</TextBox>
				<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="143,109,0,0" VerticalAlignment="Top" 
					FontFamily="Arial" FontSize="12" Text="Initials" TextWrapping="NoWrap" Foreground="#FF4B4B4B"/>
				<TextBox Height="22" Margin="143,0,0,103" VerticalAlignment="Bottom" 
					Text="{Binding Initials, Mode=TwoWay}" TextWrapping="Wrap" HorizontalAlignment="Left" 
					Width="70" MaxLength="5" FontSize="11" BorderBrush="#FFA1A1A1" FontFamily="Arial">
					<i:Interaction.Triggers>
						<i:EventTrigger>
							<n:UpdateBindingExplicitlyAction PropertyName="Text"/>
						</i:EventTrigger>
					</i:Interaction.Triggers>
				</TextBox>
				<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Margin="0,0,0,31.3" 
					VerticalAlignment="Bottom" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" 
					StrokeDashArray="2 2" Height="1"/>
				<Button Height="25" HorizontalAlignment="Right" Margin="0,0,2,0" 
					Style="{StaticResource PrintButtonTemplate}" VerticalAlignment="Bottom" Width="74" 
					Content="Save"  >
					<i:Interaction.Triggers>
						<i:EventTrigger EventName="Click">
							<n:ExecuteCommandAction Command="{Binding SaveCommand, Mode=OneWay}"/>
						</i:EventTrigger>
					</i:Interaction.Triggers>
				</Button>

			</Grid>
			<Border Height="Auto" VerticalAlignment="Stretch" CornerRadius="8,0,0,8" Background="#FFFFFFFF" d:IsLocked="True"/>
			<Grid Margin="10,9,5,2">
				<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="6,21.664,6,0" 
					VerticalAlignment="Top" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2"/>
				<TextBlock Height="Auto" Margin="7,0,0,0" VerticalAlignment="Top" Text="Sharing Information" 
					TextWrapping="NoWrap" FontFamily="Arial" FontSize="14" HorizontalAlignment="Left" FontWeight="Bold"/>
            
				<StackPanel ScrollViewer.VerticalScrollBarVisibility="Auto" Margin="0,23,0,0" VerticalAlignment="Top" Height="77">
            
					<Button VerticalAlignment="Bottom" Margin="5" Style="{StaticResource PrintButtonTemplate}">						
						<i:Interaction.Triggers>
							<i:EventTrigger EventName="Click">
								<n:ExecuteControllerAction Url="Shell/ShowBallon/SelfIdentifier"/>
							</i:EventTrigger>
						</i:Interaction.Triggers>						
						<Grid Height="55">
							<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,6,0,0" VerticalAlignment="Top" 
								FontFamily="Arial" FontSize="16" Text="Self Identifiers" TextWrapping="NoWrap"/>
							<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,24,0,0" FontSize="10.667" 
								TextWrapping="Wrap" Width="205" Foreground="#FF5F5F5F" VerticalAlignment="Top" 
								Text="Identify your personal name or something like that"/>
							<Image HorizontalAlignment="Left" Width="48" Source="../Icons/User.png" Stretch="Fill" 
								VerticalAlignment="Top" Margin="9,2,0,0" Height="48"/>
						</Grid>
					</Button>

				</StackPanel>
				<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="7,125.664,5,0" 
					VerticalAlignment="Top" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" StrokeDashArray="2 2"/>
				<TextBlock Height="Auto" Margin="7,104,0,0" VerticalAlignment="Top" Text="Online Sharing" 
					TextWrapping="NoWrap" FontFamily="Arial" FontSize="14" HorizontalAlignment="Left" FontWeight="Bold"/>
                
				<StackPanel ScrollViewer.VerticalScrollBarVisibility="Auto" Margin="0,127,0,0" VerticalAlignment="Top" 
					d:LayoutOverrides="VerticalAlignment">
            
					<Button VerticalAlignment="Bottom" Margin="5" Style="{StaticResource PrintButtonTemplate}"
						IsEnabled="False">
						<i:Interaction.Triggers>
							<i:EventTrigger EventName="Click">
								<n:ExecuteControllerAction Url="Shell/ShowBallon/Ftp"/>
							</i:EventTrigger>
						</i:Interaction.Triggers>
						<Grid Height="55">
							<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,6,0,0" VerticalAlignment="Top" 
								FontFamily="Arial" FontSize="16" Text="FTP" TextWrapping="NoWrap"/>
							<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,24,0,0" FontSize="10.667" 
								TextWrapping="Wrap" Width="205" Foreground="#FF5F5F5F" VerticalAlignment="Top" 
								Text="Sends the document or something like that"/>
							<Image HorizontalAlignment="Left" Width="48" Source="../Icons/Properties.png" Stretch="Fill" 
								VerticalAlignment="Top" Margin="9,2,0,0" Height="48"/>
						</Grid>
					</Button>
                
					<Button VerticalAlignment="Bottom" Margin="5" Style="{StaticResource PrintButtonTemplate}"
						IsEnabled="False">
						<i:Interaction.Triggers>
							<i:EventTrigger EventName="Click">
								<n:ExecuteControllerAction Url="Shell/ShowBallon/WebPage"/>
							</i:EventTrigger>
						</i:Interaction.Triggers>
						<Grid Height="55">
							<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,6,0,0" VerticalAlignment="Top" 
								FontFamily="Arial" FontSize="16" Text="Web Page" TextWrapping="NoWrap"/>
							<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="76,24,0,0" FontSize="10.667" 
								TextWrapping="Wrap" Width="205" Foreground="#FF5F5F5F" VerticalAlignment="Top" 
								Text="Sends the document to your web page or something like that"/>
							<Image HorizontalAlignment="Left" Width="48" Source="../Icons/Home.png" Stretch="Fill" 
								VerticalAlignment="Top" OpacityMask="{x:Null}" Margin="9,2,0,0" Height="48"/>
						</Grid>
					</Button>

				</StackPanel>

			</Grid>

		</Grid>
	</Border>
</UserControl>